import Vue from 'vue/dist/vue.js';
import App from "../src/App.vue";
import "./lib/mui/css/mui.css"
import "./lib/mui/fonts/mui.ttf";
import "./lib/mui/fonts/mui-icons-extra.ttf";
import "mint-ui/lib/style.css" ;
import "./lib/mui/css/icons-extra.css";
import MintUi from 'mint-ui';
import router from "./rouder.js";
import axios from "axios";
import "./lib/mui/js/mui.min.js";
import vuex from "vuex/dist/vuex.js"
Vue.use(vuex);

Vue.use(MintUi)
Vue.prototype.$ajax = axios;
// Vue.component(Swipe.name,Swipe);
// Vue.component(SwipeItem.name,SwipeItem)
//  Vue.component(Header.name, Header);
import VueRouter from 'vue-router';
Vue.use(VueRouter);

var store = new vuex.Store({
    state:{
        cont: 0
    },
    mutations:{
        meta(c) {
            c += JSON.parse(localStorage.getItem("zs")).count
        }
    },
    getters:{
     
    }
})
var vm = new Vue({
    el:"#app",
    render:c=>c(App),
    router,
    store
})
